package main

import (
	"fmt"
	"net/http"
)

// ResponseWriter 返回给浏览器的内容写在这个参数里
func sayHello(w http.ResponseWriter, r *http.Request) {
	_, _ = fmt.Fprintln(w, "hello")
}

func main() {
	http.Handle("/hello", sayHello)
}

